/* 基础样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f5f1;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1rem;
    text-align: center;
}

h1, h2, h3 {
    font-family: 'Noto Serif SC', serif;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1rem;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* 帖子列表样式 */
.posts-header {
    text-align: center;
    margin-bottom: 2rem;
}

.posts-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
}

.post-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.post-title {
    font-size: 1.5rem;
    margin-top: 0;
    color: #2c3e50;
}

.post-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.post-summary {
    margin-bottom: 1rem;
}

.read-more {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #2980b9;
}

.load-more {
    text-align: center;
    margin-top: 2rem;
}

#load-more-btn {
    background-color: #2ecc71;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

#load-more-btn:hover {
    background-color: #27ae60;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    .post-item {
        padding: 1rem;
    }

    .post-title {
        font-size: 1.3rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-item {
    animation: fadeIn 0.5s ease-out forwards;
}

